/*
 * @Author: funlee
 * @Email: i@funlee.cn
 * @Date: 2018-10-30 00:09:03
 * @Description: 顶部总数 
 */
define(function (require) {
  /**
   *  引入tpl模版
   */
  var amountTpl = require('../templates/amount.tpl');

  var Amount = {
    render: function (data) {
      var amountHtml = Handlebars.compile(amountTpl)
      $(".amount").html(amountHtml(data))
    }
  }
  return Amount
})